<?php $this->beginContent('//layouts/main'); ?>
<nav class="navbar navbar-default" role="navigation" style="margin: 0px;">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <a class="navbar-brand" href="<?php echo Yii::app()->createUrl('home/index')?>"><span class="fa fa-bank" style="font-size: 24px;"></span> DD Bank</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse pull-right" id="bs-example-navbar-collapse-1">
            <a class="btn btn-success" href="<?php echo Yii::app()->createUrl('home/login')?>">Zaloguj się</a>
                            <a class="btn btn-danger"  href="<?php echo Yii::app()->createUrl('home/register')?>">Zarejestruj się</a>
                        
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<section style="background:#efefe9;">
    <div class="container">
        <div class="row">
            <?php echo $content; ?>
        </div>                
    </div>
</section>
<?php $this->endContent(); ?>